#define _CRT_SECURE_NO_WARNINGS
#include"tree.h"

int main() {

	BTNode* root = Create_Tree();
	Preorder_Tree(root);
	printf("\n");
	BinaryTreeInOrder(root);
	printf("\n");
	BinaryTreePostOrder(root);
	bool mem = BinaryTreeComplete(root);
	int ret = BinaryTreeSize(root);
	printf(" %d", ret);
	int tmp = BinaryTreeLeafSize(root);
	printf(" %d", tmp);
	BinaryTreeDestory(root);
	return 0;
}